package com.ahies.common.contanst;

/**
 * @Description
 * @Date 2019/7/17 9:04
 * @Author zsj
 */
public interface SysConstant {
    String ADD_SUCCESS = "新增成功";
    String ADD_FAIL = "新增失败";

    String EDIT_SUCCESS = "修改成功";
    String EDIT_FAIL = "修改失败";

    String DELETE_SUCCESS = "删除成功";
    String DELETE_FAIL = "删除失败";

    String DISABLE_SUCCESS = "禁用成功";
    String DISABLE_FAIL = "禁用失败";

    String ENABLE_SUCCESS = "启用成功";
    String ENABLE_FAIL = "启用失败";

    String QUERY_SUCCESS = "查询成功";

    String UPLOAD_SUCCESS = "上传成功";

    String UPLOAD_FAIL = "上传失败";

    String CLICK_SUCCESS = "点击成功";

    String AUDIT_SUCCESS = "审核成功";
    String AUDIT_FAIL = "审核失败";

    String RESET_SUCCESS = "重置成功";

    String RESET_FAIL = "重置失败";

    String SYNCHRONIZE_SUCCESS = "同步成功";

    String SYNCHRONIZE_FAIL = "同步失败";

    String COPY_LINK_SUCCESS = "复制链接成功";
    String COPY_LINK_FAIL = "复制链接失败";

    Integer STATUS_ENABLE = 0;
    Integer STATUS_DISABLE = 1;
    //          子系统
    Integer RESOURCE_TYPE_SYS = 1;
    //      菜单
    Integer RESOURCE_TYPE_MENU = 2;
    //视图
    Integer RESOURCE_TYPE_VIEW = 3;
    //接口
    Integer RESOURCE_TYPE_BUTTON = 4;

    String YES = "yes";

    String NO = "no";
    String LOGIN_FAIL = "用户名或密码不正确";

    String LOGIN_SUCCESS = "登录成功";
    //web端session
    String SYS_WEB_LOGIN_SEEEION_PRE = "SYS_WEB_LOGIN_SEEEION:";
    // 后台管理端session
    String SYS_BACK_LOGIN_SEEEION_PRE = "SYS_BACK_LOGIN_SEEEION:";
    // 小程序端session
    String SYS_WX_MINA_LOGIN_SEEEION_PRE = "SYS_WX_MINA_LOGIN_SEEEION:";

    //web端session
    Integer SESSION_TYPE_WEB = 0;
    // 后台管理端session
    Integer SESSION_TYPE_BACK = 1;
    // 小程序端session
    Integer SESSION_TYPE_WX_MINA = 2;


    //科技馆人员session 菜单权限
    String SYS_LOGIN_SEEEION_PERMISSION_PRE = "SYS_LOGIN_SEEEION_PERMISSION:";
    // 游客session 菜单权限
    String VISITOR_LOGIN_SEEEION_MAP_PRE = "VISITOR_LOGIN_SEEEION_PERMISSION:";

    //token加密key
    String TOKEN_ENCRYPT_KEY = "ahiesZgstmToken0";
    //API安全签名缓存前缀
    String API_SIGN_KEY_PRE = "API_SIGN_KEY:";

    String OA_MY = "kjg2019";

    String TEXT_PASSWORD = "password";

    String TEXT_USERNAME = "username";

    String TEXT_DOMAIN = "192.168.5.23";

    //手机号 加密key
    String PHONE_ENCRYPT_KEY = "ahiesZgstmPhone";

    String SORT_SUCCESS = "排序成功";

    String SORT_FAIL = "排序失败";


    String REGISTER_SUCCESS = "注册成功";

    String REGISTER_FAIL = "注册失败";
    String PHONE_EXITS = "手机号码已被使用";

    String AUTHENTICODE_KEY_PRE = "AUTHENTICODE:";

    String SEND_SUCCESS = "发送成功";

    String SEND_FAIL = "发送失败";

    String PHONE_NOT_EXITS = "手机号错误/不存在";


    String SIGNOUT_SUCCESS = "退出成功";
    String SIGNOUT_FAIL = "退出失败";

    String IMPORT_SUCCESS = "导入成功";
    String IMPORT_FAIL = "导入失败";


    Integer LOCK_WAIT_TIME = 10;
    Integer LOCK_LEASE_TIME = 5;
    String CHANGE_SUCCESS = "转化成功";
    String CHANGE_FAIL = "转化失败";


    String CANCEL_REFUSE_REFUND_SUCCESS = "撤销成功";
    String CANCEL_REFUSE_REFUND_FAIL = "撤销失败";


    String STMSTAFF_CNNOT_DELETE = "帐号管理中存在该工作人员的账号，无法删除该工作人员。如果必须删除该人员，请先前往账号管理中删除与该人员关联的账号后再删除该人员。";
    String CANNOT_DELETE = "部门下有关联工作人员，无法删除";
    String LOGOUT_SUCCESS = "退出登录成功";
    String LOGIN_NAME_EXITS = "登录名已存在";

    String RISE_SUCCESS = "升序成功";

    String RISE_FAIL = "升序失败";

    String DROP_SUCCESS = "降序成功";

    String DROP_FAIL = "降序失败";

    String BACKUP_SUCCESS = "备份成功";

    String BACKUP_FAIL = "备份失败";
    String LINK_FAIL = "关联失败";
    String LINK_SUCCESS = "关联成功";

    Integer DEVELOPER = 1;

    //审批中
    Integer APPROVAL_STATE_RUNNING = 1;

    String RECEIVE_SUCCESS = "接收成功";

    //审批成功
    Integer APPROVAL_STATE_SUCCESS = 2;

    //审批失败
    Integer APPROVAL_STATE_FAIL = 3;

    //审批已撤销
    Integer APPROVAL_STATE_CANCEL = 4;

    Integer APPROVAL_URGENT = 1;

    String OPERATION_SUCCESS = "操作成功";

    String OPERATION_FAIL = "操作失败";

    Integer APPROVAL_OPERATION_AGREE = 1;

    Integer APPROVAL_OPERATION_DISAGREE = 2;

    Integer APPROVAL_OPERATION_GIVE_BACK = 3;

    Integer APPROVAL_OPERATION_CANCEL = 4;
    String STOP_FAIL = "终止失败";
    String STOP_SUCCESS = "终止成功";

    Integer USER_COMPANY = 1;
    Integer USER_IN_MUSEUM = 3;
    Integer USER_NOT_IN_MUSEUM = 2;

    Integer APPROVAL_CHANGE_OPERATION_ADD = 1;

    Integer APPROVAL_CHANGE_OPERATION_DELETE = 2;

    Integer APPROVAL_CHANGE_OPERATION_UPDATE = 3;
    String RECEIVE_FAIL = "接收失败";
    String BACK_SUCCESS = "退回成功";
    String BACK_FAIL = "退回失败";
    String APPLY_SUCCESS = "申请成功";
    String APPLY_FAIL = "申请失败";
    String URGING_SUCCESS = "催办成功";
    String URGING_FAIL = "催办失败";
    String APPROVAL_SUCCESS = "审批成功";
    String APPROVAL_FAIL = "审批失败";

    Integer MSG_UNREADED = 1;
    Integer MSG_READED = 2;

    String KEY_PREFIX = "budget:";

    String KEY_PREFIX_EXHIBITIS = "budgetExhibits:";

    String DISPLAY_KEY = "display:";

    String SUBASSEMBLY_KEY = "subassembly:";

    String CONTRACT_KEY = "contract:";

    String EXPERT_KEY = "expert:";
    String BUDGET_ALL = "budgetAll:";
    String RESTART_SUCCESS = "重启任务成功";
    String RESTART_FAIL = "重启任务失败";
}
